import { RMIProxyObject } from "../../Engine/RMI/RMIProxyObject";
import { IComprehensionTargetPrx } from "./IComprehensionTargetPrx";
import { AMI_IComprehensionTarget_finishTargetDay } from "./AMI_IComprehensionTarget_finishTargetDay";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { Outgoing } from "../../Engine/RMI/Outgoing";
import { AMI_IComprehensionTarget_getChapterReward } from "./AMI_IComprehensionTarget_getChapterReward";
import { AMI_IComprehensionTarget_getTargetStateType } from "./AMI_IComprehensionTarget_getTargetStateType";
type int = number;
//class IComprehensionTargetPrxHelper
    
    export  class IComprehensionTargetPrxHelper extends RMIProxyObject implements IComprehensionTargetPrx
    {
        constructor()
        {
            
            super();name = "IComprehensionTarget";
            return;
        }

        public finishTargetDay_async(arg1: AMI_IComprehensionTarget_finishTargetDay, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("finishTargetDay");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getChapterReward_async(arg1: AMI_IComprehensionTarget_getChapterReward, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getChapterReward");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getTargetStateType_async(arg1: AMI_IComprehensionTarget_getTargetStateType, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getTargetStateType");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public static /* const */NAME: string="Message.Game.IComprehensionTarget";
    }
